package com.wfit.service;

import com.wfit.pojo.User;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wfit.utils.Result;

/**
* @author 30251
* @description 针对表【news_user】的数据库操作Service
* @createDate 2024-04-30 17:02:39
*/
public interface UserService extends IService<User> {
//登录业务
    Result login(User user);
//根据token获取用户数据
    Result getUserInfo(String token);
//检查账号接口是否可用
    Result checkUserName(String username);
/*
注册业务
* */
    Result regist(User user);
}
